export default {
    // 格式化金额
    formatMoney (num) {
        let money = (num / 100).toFixed(2) + ''
        var regex = /(?!^)(?=(\d{3})+\.)/g
        return money.replace(regex, ',')
    }
}
